
course_titles = new Hash();

function add_course_title (number, title) {
	course_title[number] = title;
}

function get_course_title (number) {
	return course_titles[number];
}

function hovering (draggable, droppable, percentage) {
	// if (draggable.id == "search_MATH4320") {
	// 		Element(droppable.id + "_error").innerHTML = "<div id=\""+droppable.id+"_error\">Prerequisite conflict with MATH4317</div>"
	// 	}
		
}

function dropping (argument) {
	// body...
}

function revert_course(element){
	return true;
	var str = "";
	
	for (key in Object.keys) {
		str = str + key + "\n";
	}
	alert(element.id + ", " + str);
	return true;
}